﻿
using Microsoft.AspNetCore.Http;
using System.ComponentModel.DataAnnotations;
namespace LPP.Core.Dtos
{
    public class WorkerDto
    {

        public string Name { get; set; }
        public string Phone { get; set; }
        [Required]
        public string IdCardFront { get; set; }
        [Required]
        public string IdCardBack { get; set; }
        [Required]
        public string RealName { get; set; }
        [Required]
        public string IdCardNumber { get; set; }
        public List<IFormFile> IdCardImages { get; set; }

        [Required]
        public int WorkerId { get; set; }
    }
}
